<template>
  <router-view v-slot="{ Component }">
    <Transition name="fade" mode="out-in">
      <div>
        <component :is="Component" />
      </div>
    </Transition>
  </router-view>
</template>

<style scoped>
.fade-enter-active,
.fade-leave-active {
  transition: all 0.2s ease;
  /* filter: drop-shadow(0 0 2em #42b883aa); */
}

.fade-enter-from,
.fade-leave-active {
  opacity: 0;
}
</style>
